{php include template("admin/header");}
<!--main-->
<div class="midder">

{php include template("admin/menu");}

<table  cellpadding="0" cellspacing="0">
<tr class="old">
	<td>分享ID</td>
	<td>类别</td>
	<td>标题</td>
	<td>价格</td>
	<td>用户</td>
	<td>上传</td>
	<td>喜欢</td>
	<td>评论</td>
	<td>查看</td>
	<td>操作</td>
</tr>
<!--{loop $arrItems $key $item}-->
<tr class="odd">
	<td>{$item[tbshareid]}</td>
	<td>{php echo $arrCates[$item[cateid]]}</td>
	<td>{$item[title]}</td>
	<td>{php echo sprintf("%.2f",round($item[price] / 100,2))}</td>
	<td>{$item[userid]} / {$item[username]}</td>
	<td>{php echo date('m-d',$item['addtime'])}</td>
	<td>{$item[favor]}</td>
	<td>{$item[comment]}</td>
	<td>{$item[hot]}</td>
	<td>
		<a href="{SITE_URL}index.php?app=tbshare&ac=admin&mg=item&ts=edit&tbshareid={$item[tbshareid]}">[修改]</a> 
		<a href="{SITE_URL}index.php?app=tbshare&ac=admin&mg=item&ts=del&tbshareid={$item[tbshareid]}" onclick="return confirm('确定删除?')">[删除]</a>
		<a href="{$item[shareurl]}" target="_blank">[访问]</a>
	</td></tr>
<!--{/loop}-->
</table>

</div>
{php include template("admin/footer");}